<?php

namespace IDock\Insurance\ZFIC\Request;

use IDock\Insurance\ZFIC\Response\CommonResponse;
use IDock\Insurance\ZFIC\Response\VehicleModelBXResponse;
use IDock\Visitor\VehicleModelVisitor;

class CarModelQueryBXRequest extends AllZFICRequest
{

    protected $urlTip = '保信车型查询';

    protected $route = '/order/api/order/ybxcarmodels';

    protected $response = VehicleModelBXResponse::class;

    /**
     * @var VehicleModelVisitor $visitor
     */
    protected $visitor;

    public function generate(): array
    {
        $param = [
            "vin" => $this->visitor->vin,
        ];
        return $param;
    }

    public function getStaffConfig(&$chalCode, &$userCode){
        $chalCode = $this->visitor->argc['chalCode'] ?? '';
        $userCode = $this->visitor->argc['userCode'] ?? '';
    }


}
